V.O. 28/01/2019
rev: 29/09/2022
Hardware
Pickit4
Usage
de MPLAB IPE avec PIC sur support ZIF (18F26K22)
Usage
de MPLAB IPE avec PIC in situ (18F27K42)
Pickit4
Recovery via MPLABx IPE
: (01/03/2020)
MPLAB
IDE 8.92
MikroC
Tools
Pickit2
version
Pickit3
version
PICKIT3 avec Pickit3 V3.10 STANDALONE (Recovery)
avec 18F26K22 in situ
: (01/03/2020)
PICKIT3 , MPLABX IPE V5.30 et 18F26K22 sur
support ZIF : (01/03/2020)
PICKIT3 , MPLABX IPE 5.30 et PIC 18F27Q10 (16/01/2021)
PICKIT3
avec Pickitminus.exe et 18F27K42 sur support ZIF : (11/04/2022)
PICKIT3
et Pickitminus.exe version 2022 ..OK en 5V ! (29/09/2022)
HARDWARE
Le raccordement est STANDARD , idem que sur Pickit2 ou Pickit3
* R de 10K entre MCLR/VPP et VDD (optionelle )
Pin 1 ... VPP / MCLR
Pin 2 .. VDD
Pin 3.. 0 V Gnd
Pin 4 .. DATA
Pin 5 .. CLOCK
Pin 6 .. not connected
USAGE
MPLABx IPE avec PIC sur support ZIF:
Installation logiciel :
il faut passer par http://microchipdeveloper.com/ipe:installation
MPLABX_V5.30_windows-installer.exe
puis dans le setup
ne pas cocher MPLABX IDE ( * pour ma par je tavaille avec MikroC
)
mais cocher uniquement MPLABx IPE
Driver :
Avec PICKIT4 et MPLAB IPE V5.30
18F26K22 monté directement sur support ZIF (special Pickit3)
donc relié donc directement au PIC.
Pickit4 connecté via cordon USB au PC.
* La résistance de 10K s'avère
facultative , voir inutile!.
Le PICKIT 4 doit alors, alimenter le PIC
acces setting avec password "microchip" par défaut
puis "Power settings"
use high voltage !
Connection
La touche "Programme" devient accessible
Loading code from C:\_MikroC\_MesProjets_MikroC\
_18F26K22_Horloge_60leds\Horloge_6digits_18F26K22_DS3231_ULN_UDN_Melodie_60leds_for_AI2.hex...
2019-03-08 18:26:18 +0100 - Hex file loaded successfully
Programmation
Erasing ...
The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x3e3f
configuration memory
EEData memory
Programming/Verify complete
2019-03-08 18:26:32 +0100 - Programming complete
Nota: La Bande LED du Pickit4 reste en JAUNE !
* Avec PICKIT 4 et MPLAB IPE V5.00 , et PIC monté IN SITU
sur Breadboard,
PIC 18F27K42 alimenté en 5V
ligne VCC PIC -->
VDD Pickit4 (et autre connections
habituelles)
MCLR tiré au+5V via 47K --> PIN 1 VPP Pickit4
Programme à charger , compilé avec MikroC PIC 8 bits
avec option HV on MCLR (High Voltage VPP.).
Charger le programme HEX:
Loading code from C:\_MikroC\_MesProjets_MikroC\_18F27K42\18F27K42_Tests.hex...
2019-01-28 10:33:36 +0100 - Hex file(s) loaded successfully.
Anomalie : on peut cocher les 2 cases à la fois !
NE PAS COCHER Use Low Voltage Programming ..
sinon impossible de se connecter ???
....ce bug est corrigée
dans la version 5.30
Onglet : OPERATE
click sur : CONNECT
Connecting to MPLAB
PICkit 4...
Currently loaded versions:
Application version............00.03.09
Boot version...................01.00.00
Script version.................00.02.52
Script build number............66d22ca77a
Application build number.......0123456789
Target voltage detected
Target device PIC18F27K42 found.
Device Id Revision = 0x0
rem:
Tool : Pickit4 apparait en violet dans la barre d'etat en bas à
droite
les (icones) touches Program, Erase .. deviennet accessible
click sur Program
2019-01-28 10:44:57 +0100 - Programming...
*****************
Erasing...
The following memory
area(s) will be programmed:
program memory: start address = 0x0, end address = 0x1ffff
configuration memory
EEData memory
User Id Memory
REm : L'operation dure plusieurs secondes ...32 secondes !
Programming/Verify
complete
2019-01-28 10:45:29 +0100 - Programming complete
OK
MPLABx IPE avec Pickit3 (Ersatz) pour programmer unPIC18F26K22
01/03/2020
avec version MPLBABx IPE 5.30
PIC monté sur le support
ZIF <-> alim directe via le
Pickit3
Lancer MPLABX IPEv5.30
nota :
si un password est demandé pour accéder au settings : microchip
POWER
Power settings :
Voltage Optiond
Power target circuit from Pickit3 : case cochée!
Voltage Level 3,25V
Nota:
*3,25V et non 5V , car , soit les PIC , soit le Pickit3 sont récalitrants avec 5V ! Why ? That's it!
le PIC18F26K22 peut encore fonctionner à 2,3V !
2.3V to 5.5V
Operation PIC18FXXK22 devices
Use low voltage programming NON coché!
donc le mode High Voltage est utilisé pour la programmation.
Le Pickit 3 peut alors, alimenter le PIC.
Aucune autre connection est necessaire .
Deroulement des opérations pour programmer ce PIC18F26K22
-----------------
Operate:
-----------------
Device and toll selection
PIC18F26K22
Pickit3 S No BUR 183601972
Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.55.01 *
Firmware type..............Unknown Firmware Type
Now Downloading new Firmware for target device: PIC18F26K22
Downloading AP...
AP download complete
Programming download...
------------
le bandeau MPLABx IPE affiche alors :
---------------
CONNECT
--------------
*****************************************************
Connecting to MPLAB PICkit 3...
Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.56.02
Firmware type..............PIC18F
Programmer to target power is enabled - VDD = 3,250000 volts.
Target device PIC18F26K22 found.
Device Revision ID = 4
--------------
BROWSE
--------------
choisir le fichier *.Hex à charger , et valider
Loading code from C:\_MikroC\_MesProjets_MikroC\..etc..Horloge_12_Matrice8x8_defilement_96bits_18F26K22_2020.hex...
2020-03-01 10:35:39 +0100 - Hex file loaded successfully.
------------
Programming
------------
2020-03-01 10:35:44 +0100 - Programming...
Device Erased...
...
The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x8bff
configuration memory
EEData memory
Programming/Verify complete
2020-03-01 10:36:02 +0100 -
Programming complete
OK
Pickit3
Standalone (Recovery )
Si on lance Pickit 3 V3.10 , version stand alone ( programme
autonome, sans aucun environnement MPLBAB )
"C:\Program Files (x86)\Microchip\PICkit 3 v3\"Pickit3.exe
ATTENTION, le fait d'utiliser MPLABx IPE (avec l'option Autoload
Firmware cochée ) fait que
le programme Standalone Pickit3.exe ne peut plus etre utilisé
tel quel :
en cliquant sur
Help
About
on voit qu'il n'y a
plus d OS Firmware !
il FAUT RECHARGER l'Operating Syteme (OS) Firmware
click sur
--Tools
---- Download PIck Operating System
----C:\Program Files (x86)\Microchip\PICkit 3 v3\PK3OSV020005.hex
le programme firmware devrait etre dispo sur le site Microchip ,
mais au cas où ?
new
Pickit3 2021 :
Pickit3 conneted ID= BURR132284452
New Device file
version : chargement de pk2devicefile_2_63_205.dat
Test Programmation PIC18F26K22 (sur suppor
ZIF)
OK
Test Programmation PIC18F26K22 , in
Situ,
monté sur la platine circuit BASE 18F
Liaison ISCP au Pickit3
Pickit 3.exe ,Standalone , Forcage Alim à 3.6V pour alimenter la
carte PIC
Chargement du programme :
File
Import
C:\_MikroC\...\Horloge_12_Matrice8x8_defilement_96bits_18F26K22_2020.hex
Hex file successfully imported
Write
Writing..
Verifing device
Programm
Successfully
VDD Pick3 case ON cochée et 3.6V
Connection d'un Terminal sur RC6 TX et 0V
le programme est bien correctement chargé et affiche la
présentation
Projet : Horloge_12_Matrice8x8_defilement_96bits_18F26K22_2020.mcppi
Source : Horloge_defil_12_Matrices_8x8_96bits_18F26K22_2020_02_29.c
Usage de 12 registres de 96 bits pour le decalage à gauche ..en
ASM
Terminal pour dialogue et Visu deroulement programme
Alim =3.6V à 5V
Tiny_RTC_DS3231_for_AI2_2020.mcl et *.h ,Font : Thin_SS_2020.H
Config Oscillateur : PIC18F26k22_FOSC_interne_16x4-64MHZ.cfgsch
Devices : 3 x 4 MAX7219 (cms),RTC DS3231, OWS DS18B20
Test avec
MPLAB IDE 8.92
gere aussi Pickit3
Mise à jour manuelle de pickit3 (2016 !!)
PK3FW_012890.jam
Je n'ai perçu AUCUN changement !
test avec 18F26K22_Test_Uart_RX_IT.mcp
PICkit 3 detected
Connecting to PICkit 3...
PK3Err0033: 4
bytes expected, 0 bytes received
Failed to properly
connect to PICkit 3
PK3Err0075: Unable to set power.
Programmer
settings
..Power
........ Power target circiuit from pickit3 (Check Case)
choose 5.000 and Check
the case
Apply
Get message caution ...dammage
..check device ID
OK or CANCEL
=> Checking on
Case Power target circuit from pickit3 disapears !
..so no power on PIC
status gives
Firmware suite version
01.28.90
algo Plugin version 01.13.06
OS version 01.15.34
Voltage
Pickit 3 VDD = 0.00
Refresh Voltage => same
, because impossible to set the voltage
Pickit3 original ..HS
Mikroc Tools
à chaque mise à jour de MikroC, je perds la config Tools ..
déja maintefois signalé à MikroE ..sans contremesur e
appliquée.
fichiers à conserver :
Tools.ini
contenu:
[Tools]
Count=10
File0=C:\_MikroC\_Tools\Timer Calculator\TimerCalculator.exe
Parameters0=
ShortCut0=122
Name0=Timer
File1=C:\_MikroC\_Tools\PicPwm\PicPwm.exe
Parameters1=
ShortCut1=0
Name1=PWM
File2=C:\_MikroC\_Tools\GLCD Font Creator\GLCDFontCreator.exe
Parameters2=
ShortCut2=0
Name2=FontCreator
File3=C:\_MikroC\_Tools\Paintuino.exe
Parameters3=
ShortCut3=0
Name3=Paintuino
File4=D:\_PIC_MCU\_Microchip_Docus\_PICKIT2\PICkit2V2.exe
Parameters4=%HEX_FILE_NAME
ShortCut4=0
Name4=PicKit2
File5=C:\_MikroC\_Tools\USB HID BootLoader\mikroBootloader USB
HID.exe
Parameters5=%HEX_FILE_NAME
ShortCut5=0
Name5=USB HID
File6=C:\Program Files (x86)\Microchip\MPLABX\v5.00\mplab_platform\bin\mplab_ipe.exe
Parameters6=
ShortCut6=0
Name6=Mplab IPE
File7=C:\_MikroC\_Tools\Hid Terminal\HIDterminal.exe
Parameters7=
ShortCut7=0
Name7=HID Terminal
File8=C:\_MikroC\_Tools\PICkit 3 v3\PICkit3.exe
Parameters8=
ShortCut8=0
Name8=Pickit3
File9=C:\_MikroC\_Tools\UDP Terminal\UDPTerminal.exe
Parameters9=%HEX_FILE_NAME
ShortCut9=0
Name9=Udpterminal
Docking.ini
ToolbarLayout.AdvGlowButton67=1
ToolbarLayout.AdvGlowButton66=1
ToolBarTools.AdvGlowButton65=1
ToolBarTools.AdvGlowButton64=1
ToolBarTools.AdvGlowButton63=1
ToolBarTools.AdvGlowButton62=0
ToolBarTools.AdvToolBarSeparator18=1
ToolbarLayout.AdvGlowButton57=1
ToolBarTools.AdvGlowButton56=1
ToolBarTools.AdvGlowButton55=1
ToolBarTools.AdvGlowButton54=1
ToolBarTools.AdvGlowButton53=1
ToolBarTools.AdvGlowButton52=1
ToolBarTools.AdvGlowButton50=1
ToolBarTools.AdvGlowButton49=1
ToolBarTools.AdvGlowButton48=1
ToolBarTools.AdvGlowButton47=1
ToolBarTools.AdvGlowButton51=1
barre d'outils
PICkit 2 v2.61.00 Setup A.zip
fichier Operating Syteme : PK2V023200.hex
Fichier *.DAT device File : PK2DeviceFile_1_63_146.dat
copier et renommer ce
fichier en PK2DeviceFile.dat , fichier dans le meme directory que
Pickit2
Pickit3 clone version RPC
rev 16/01/2021
OK avec Win10
situé en : "C:\Program
Files (x86)\Microchip\PICkit 3 v3\PICkit3.exe"
Pickit3 connected ID= BUR132284452
version originale 11/06/2013 .. fichier dat 1.62.15
PICkit3.exe size =506Ko
version 3.10.00
OS Firmware 2.00.05
New OS firmware : PK3OSV020005.hex
Device File Version 1.62.15
New device file : pk2devicefile_2_63_205.dat
version standalone SANS MPLAB : PICkit 3 v3.zip
Probleme pour l'inclure
dans les Tools de MikroC:
L'icone n'apparait pas ..?
pour le lancer depuis Tools MikroC ..
...le fichier Devicefile n'est pas trouvé ?
origine du probleme ??
alors que si on lance manuellement Pickit2 ou 3 ..NO Problemo
Usage de Pickit3 et MPLABX IPE V5.30
pour nouveau PIC 18F27Q10
16/01/2021
Le but est de charger l'executable de ce projet, via le Pickit3
Projet MPLABX :
Directory : C:\MPLABX_Projects\P18F27Q10_tests_UART1_ADC_I2C_SPI.X
Projet : P18F27Q10_tests_UART1_ADC_I2C_SPI
Compilation le Jan 15 2021 at 18:13:48 UTC ,avec version XC8 :
2100
A l'instar de Pickit4 qui fonctionne sans probleme pour
programmer un 18F27Q10
Pickit3 Stand Alone s'avere ne pas pouvoir le gérer .
malgré un fichier DAT revision 2.63.205 proposant ce PIC
rappel
16/01/2021
My Pickit3
About
Appli version 3.10.00
Device File Version 2.63.205
OS firmware version 2.00.05
PICkit 3:=<sn>BUR132284452
apres consultation sur le WEB
https://microchipsupport.force.com/s/article/Troubleshooting-Pickit3-errors
Apr 14, 2020Knowledge
How to troubleshoot PICkit 3 errors?
Answer
Please be
aware that PICkit3 is obsolete, no longer supported programmer
and we recommend migrating to PICKIT4 or ICD4.
3. How to manually update the firmware
a. Go in MPLAB X and make a new project selecting the PICkit3 as
Programmer.
b. "Project Properties" select "PICkit3" and
from "Option categories" select "Firmware".
c. Uncheck "Use Latest Firmware" box and click on
"Press to browse for a specific firmware version".
d. Select the .jam file that appears in "Firmware Files"
and apply it. Read or program device to activate the change.
e. More information you can find here: http://microchip.wikidot.com/pickit3:firmware-to-load
9. Reset the tool
a. In MPLAB X IDE, right click on the project you are working on
(make sure the PICkit3 is selected as programmer), then click
Properties.
b. Project Properties dialog box will appear. On the left side
under Categories choose PICkit3.
c. Upon clicking PICkit3 a "Reset" button will appear
on the right side. Then proceed to the reset.
d. After resetting, go to Window tab in the Menu bar, then click
Reset windows.
j'ai donc procédé au RESET du Pickit3 (via
MPLABX) .. plus de firmware
dans le PickiT3
lien utile:
https://microchip.wikidot.com/pickit3:firmware-to-load
MPLABX/mplab_ide/mplablibs/modules/ext/PICkit3.jar
mais PICkit3.jar
ABSENT !!!!
En fait, je pense que Microchip a enlevé la possibilité de mise
à jour firmware en ne mettant plus le Pickit3.Jar
au bon endroit !.......... pour forcer un achat Pickit4 !
j'ai retrouvé un Pickit3.jar dans C:\Program Files (x86)\Microchip\PICkit
3 v3
que j'ai recopié et placé dans
C:\Program Files (x86)\Microchip\MPLABX\v5.30\mplab_platform\mplab_ide\modules\ext
Nouvel essai de chargement avec PickiT3 Standalone OUVERT
puis lancé MPLABX
avec
Projet properties
..Customise
...choix Pickit3
......click sur pickit3
.........Option categories : "Firmware"
.............case "Use last firmware" cochée
..
APPLY
OK
Puis, Sous MPLABX IDE , ouverture projet
Connecting to MPLAB PICkit 3...
Currently loaded
firmware on PICkit 3
Firmware Suite Version.....01.28.90 *
Firmware type..............Unknown Firmware Type
Now Downloading new Firmware for target device: PIC18F27Q10
Downloading RS...
RS download complete
Programming download...
Downloading AP...
AP download complete
Programming download...
Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.56.02
Firmware type..............Enhanced Midrange
*************
Target voltage detected
Target device PIC18F27Q10 found.
Device Revision ID = a004
Device Erased...
Programming...
The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x116ff
configuration memory
Programming/Verify complete
Contre Essai :
Un retour avec Pickit3 Standalone avec OS firmware PK3OSV020005.hex
dowloading .............. PK
Pickit3 conneted ID= BURR132284452
..OK !
test chargement
.... select PIC18 MSB1ST
.......select PIC18F27Q10
chargement _BASE_18F27Q10_tests_UART1_ADC_I2C_SPI.X.production.hex
Warning : Hex file
Loaded is larger than device <-- PAS
BON!
write
select device not
detected
DONC ..NE
MARCHE PAS en mode STand Alone
=> remis en version MPLAB
Tools
Reverse to MPLAB mode
...fenetre
.....The Pickit3 has been converted to Mplab Mode
.......Exiting GUI ..
OK
fermeture Pickit3 standalone
Re-test , mais avec la version Standalone MPLABX IPE V5.30
(et PickiT3)
select tools :
...Pickit3
*****
Connecting to MPLAB PICkit 3...
Currently loaded firmware on PICkit 3
Firmware Suite
Version.....01.56.02
Firmware type..............Unknown Firmware Type
Now Downloading new Firmware for target device: PIC18F27Q10
Downloading RS...
RS download complete
Programming download...
Downloading AP...
AP download complete
Programming download...
Currently loaded firmware on PICkit 3
Firmware Suite Version.....01.56.02
Firmware type..............Enhanced Midrange
PICkit 3 is trying to
supply 5,000000 volts from the USB port, but
the target VDD
is measured to be 4,750000 volts. This could be due to the USB
port power capabilities
or the target circuitry affecting the measured VDD.
POWER Voltage Options
Power target circuit from Pickit3 : Décocher la case !
Target voltage detected
Target device PIC18F27Q10 found.
Device Revision ID = a004
C:\MPLABX_Projects\_BASE_18F27Q10_tests_UART1_ADC_I2C_SPI.X\dist\Conf_18F27Q10\
production\_BASE_18F27Q10_tests_UART1_ADC_I2C_SPI.X.production.hex
Loading code from C:\MPLABX_Projects\_BASE_18F27Q10_tests_UART1_ADC_I2C_SPI.X\dist\Conf_18F27Q10\
production\_BASE_18F27Q10_tests_UART1_ADC_I2C_SPI.X.production.hex...
2021-01-16 12:35:52 +0100 - Hex file loaded successfully.
2021-01-16 12:36:20 +0100 - Programming...
Device Erased...
Programming...
The following memory area(s) will be programmed:
program memory: start address = 0x0, end address = 0x116ff
configuration memory
Programming/Verify complete
2021-01-16 12:36:43 +0100 -
Programming complete
OK !!!
Usage de Pickit3 et Pickit3minus.exe
avec 18F27K42 sur support ZIF
HARDWARE :
Usage de la carte support ZIF pour programmer le PIC18F27K42
SOFTWARE :
L'application Pickitminus.exe
téléchargement
![]() |
![]() |
version Pickit3 | liste des fichiers |
si la config bits affichée ne coincide pas avec celle
programmée
(à verifier dans le fichier de sortie *.lst)
Dans le cas présent, le Pickit3 alimente le PIC !
Target VDD Source -> Force pickit
Ajuster ensuite la tension d'Alim Vdd
Nota :
Pickitminus.exe s'execute en mode Standalone
Apres compilation d'un programme :
soit avec MikroC Pro 7.60 ,
soit avec MPLABX 6.00 + XC8 ,
le fichier résultant ( au format *.hex) , peut etre chargé par
pickitminus.exe sans probleme.
**************************************************************
Test
Nouvelle Version Pickit minus : Septembre 2022
1er Essai avec Vdd=5V
j'ai toujours Programme
Failed ! ....
remis VDD à 3,1V
Programming Successfull
ATTENTION le zip 3.20.15 ne contient pas le deriner fichier
Device Version 2.63.228
chargement de PK2DeviceFile_2_63_228.zip
2em essai en 5V
Programmation
Succesfull
MPLABx IPE et Pickit4 Recovery
Test sur le Pickit4 d'un ami :
Le pickit4 n'est
plus reconnu ?
Operation pour recuperer le firmware Pickit4
Lancer MPLABx IPE V3.50
Tools
Hardware Tools Emergency Firmware Boot Recovering Utility
Suivre toutes les étapes ...
Acces au Reset avec une queue de resistance ! ou bout de trombone
!
Le Resultat semble OK ..
Test chargement d'un programme dans le PIC18F26K22 installé sur
support ZIF
Pickit4 alimente le PIC , VPP =High Voltage
Le Pickit4 est
reconnu ..
MAIS Problemo :
le dialogue s'interrompt sur
Reception on endpoint 129 failed (err = -10121)
Impossible d'aller plus loin .
ce Pickit4 est H.S.